<?php /* Smarty version 2.6.12, created on 2008-10-30 12:48:48
         compiled from modules/News_Management/news_common.tpl */ ?>
<?php func_load_lang($this, "modules/News_Management/news_common.tpl","lbl_news_management,txt_news_management_top_text,txt_fields_are_mandatory,lbl_news_list_details,lbl_news_list_details,lbl_news_list_maillist,lbl_news_list_messages,lbl_news_list_message_details"); ?><?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "page_title.tpl", 'smarty_include_vars' => array('title' => $this->_tpl_vars['lng']['lbl_news_management'])));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>

<?php echo $this->_tpl_vars['lng']['txt_news_management_top_text']; ?>


<br /><br />

<?php if ($this->_tpl_vars['mode'] == ""):  $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "modules/News_Management/news_lists_select.tpl", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>

<?php else:  if ($this->_tpl_vars['mode'] != 'create'):  $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "dialog_tools.tpl", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>
<br />
<?php endif; ?>

<?php if ($this->_tpl_vars['mode'] == 'create' || $this->_tpl_vars['mode'] == 'modify' || ( $this->_tpl_vars['mode'] == 'messages' && ( $this->_tpl_vars['action'] == 'add' || $this->_tpl_vars['action'] == 'modify' ) )):  echo $this->_tpl_vars['lng']['txt_fields_are_mandatory']; ?>

<br />
<?php endif; ?>

<br />

<?php ob_start(); ?>

<?php if ($this->_tpl_vars['mode'] == 'create'):  $this->assign('dialog_title', $this->_tpl_vars['lng']['lbl_news_list_details']);  $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "modules/News_Management/news_details.tpl", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>

<?php elseif ($this->_tpl_vars['mode'] == 'modify'):  $this->assign('dialog_title', $this->_tpl_vars['lng']['lbl_news_list_details']);  $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "modules/News_Management/news_details.tpl", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>

<?php elseif ($this->_tpl_vars['mode'] == 'subscribers'):  $this->assign('dialog_title', $this->_tpl_vars['lng']['lbl_news_list_maillist']);  $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "modules/News_Management/news_subscribers.tpl", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>

<?php elseif ($this->_tpl_vars['mode'] == 'messages'):  $this->assign('dialog_title', $this->_tpl_vars['lng']['lbl_news_list_messages']);  if ($this->_tpl_vars['action'] == 'add' || $this->_tpl_vars['action'] == 'modify'):  $this->assign('dialog_title', $this->_tpl_vars['lng']['lbl_news_list_message_details']);  endif;  $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "modules/News_Management/news_messages.tpl", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
  endif; ?>

<?php $this->_smarty_vars['capture']['dialog'] = ob_get_contents(); ob_end_clean();  $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "dialog.tpl", 'smarty_include_vars' => array('title' => $this->_tpl_vars['dialog_title'],'content' => $this->_smarty_vars['capture']['dialog'],'extra' => 'width="100%"')));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
  endif; ?>
